package top.canyue.word_range_service.service;

import top.canyue.word_range.pojo.po.Review;
import top.canyue.word_range.pojo.po.WordMapping;
import top.canyue.word_range.result.Result;

import java.util.List;

public interface ReviewService {
    Result<Review> saveOrUpdateReview(String word);

    Result<List<WordMapping>> getRandomReviewWordList(String bookId, Integer count);

    Result<List<WordMapping>> getRandomNewWordList(String bookId, Integer count);

    Result<List<WordMapping>> getRandomReviewWordListByEvent(Integer count);

    Result<Long> getReviewedWordCount(String jwt);

    Result<Long> getMasteredWordCount(String jwt);
}
